<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"
%>
<!DOCTYPE HTML>
<html>
  <head>
     <title>
        	管理登录
	</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/font-awesome.min.css"  />
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.min.css"  />
</head>
<script src="${pageContext.request.contextPath}/js/jquery-1.6.3.js"></script>
 <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
  <script src="${pageContext.request.contextPath}/css/unslider.min.js"></script>
<script type="text/javascript">
function login(){
	var u=$("#username").val();
	var p=$("#password").val();
	if(u==null||u==""||p==null||p==""){
		alert("账号或密码不能为空!");
		return false;
	}
	
}
</script>
<body>
			<div  style="padding-top:5px;margin: auto; border-bottom: 1px solid;background: #FF7F00">
        <div class="row">
         <div class="col-md-2 col-md-offset-1">
			<span style="color:#fff">
	<fmt:formatDate value="${nowDate}" pattern="yyyy年MM月dd日 HH:mm:ss"/>
			</span>
         </div>
      
         <div class="col-md-2">
			<span style="color:#fff">欢迎登陆商城管理系统</span>
         </div>
          <div class="col-md-1 col-md-offset-5">
          <a href="${pageContext.request.contextPath}" style="color: #fff" >首页<span class="fa fa-home">
          </span></a></div>
        </div>
      </div>
     <div style="background: fff;width: 1100px;height: 138px;">
     <img src="${pageContext.request.contextPath}/img/juninglogo.jpg" style="width:138px;height: 138px;margin-left:100px">
			<img src="${pageContext.request.contextPath}/img/sysTitle.png" alt="">
     </div>
     		<div style="margin:40px  0 0 470px">
     			<form id="form" action="${pageContext.request.contextPath}/AdminUserContorller/adminlogin.action" method="post">
     				<label >
     				账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号
     				</label>
     				<br>
     				<input type="text" name="username" id="username">
     				<br>
     				<label>
     				密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码
     				</label>
     				<br>
     				<input type="password" name="password" id="password">
     				<br>
     				<input onclick="return login()" type="submit" value="登&nbsp;&nbsp;&nbsp;&nbsp;录" 
     				style="color:#fff;width:100px;background:#EE9572;font-weight:600;
     				margin-left:150px;border-color:#EEA9B8"> 
     			</form>
     		</div>
    		<div style="width:1100%;height:150px;margin-top: 80px">
			<div style="margin:15px 0 0 540px;color:#595959;font-size:13px;font-weight:600;
			letter-spacing:3px">
			本站由DGW制作,版权归俊宁电器所属.
			</div>
			<div style="margin:15px 0 0 595px;color:#595959;font-size:13px;font-weight:600;
			letter-spacing:3px">
				蜀ICP备20170105号
			</div>
			<div style="margin:15px 0 0 576px;color:#595959;font-size:13px;font-weight:600;
			letter-spacing:3px">
			2017-7-1  ——  2017-9-21
			</div>
	</div>
 </body>
   <style>
   #form input{
   	width: 400px;height: 40px;margin-bottom:20px;border:1px solid #949494;
   	border-radius:4px; 
   }
   #form input:hover{
   	border-color:#EE7942;
   }
   label{
color:#A1A1A1;margin:0 0 5px 170px
  }
   </style>
</html>